<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>

<html>
<head>

<title>购买实物类商品页面</title>

</head>

<body>
	<%
		request.setCharacterEncoding("UTF-8");
		if (request.getParameter("one1") != null)
			session.setAttribute("s11", request.getParameter("one1"));
		if (request.getParameter("one2") != null)
			session.setAttribute("s12", request.getParameter("one2"));
		if (request.getParameter("one3") != null)
			session.setAttribute("s13", request.getParameter("one3"));
		if (request.getParameter("two1") != null)
			session.setAttribute("s21", request.getParameter("two1"));
		if (request.getParameter("two2") != null)
			session.setAttribute("s22", request.getParameter("two2"));
		if (request.getParameter("two3") != null)
			session.setAttribute("s23", request.getParameter("two3"));
		if (request.getParameter("two4") != null)
			session.setAttribute("s24", request.getParameter("two4"));
		if (request.getParameter("three") != null)
			session.setAttribute("s3", request.getParameter("three"));
	%>
	<form action="five.jsp">
		各种肉大甩卖，一律十块<br> <input type="checkbox" name="one1" value="猪肉">猪肉
		<input type="checkbox" name="one2" value="牛肉">牛肉 <input
			type="checkbox" name="one3" value="羊肉">羊肉<br> <br>
		蔬菜降价了，全场三块<br> <input type="checkbox" name="two1" value="白菜">白菜
		<input type="checkbox" name="two2" value="土豆">土豆 <input
			type="checkbox" name="two3" value="胡萝卜">胡萝卜 <input
			type="checkbox" name="two4" value="西红柿">西红柿<br> <br>
		牛奶便宜了，五十一箱<br> <input type="radio" name="three" value="蒙牛">蒙牛
		<input type="radio" name="three" value="伊利">伊利<br> <br>
		<input type="submit" value="提交">&nbsp;<input type="reset"
			value="清空">&nbsp;<a href="five2.jsp">买点别的</a>&nbsp;<a
			href="t5.jsp">查看购物车</a>
	</form>
</body>
</html>
